const resolve = require('resolve')

const res = resolve.sync('check-is-array', { basedir: __dirname })

console.log(res)
// D:\code\vite\source\node_modules\check-is-array\index.js
